<!DOCTYPE html>
<html>
    <head>
        <title>Test de javascript para CTC</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="libs/mocha.css" />
        
        <script type="text/javascript" src="libs/mocha.js"></script>
        <script type="text/javascript">mocha.setup('bdd');</script>
        <script type="text/javascript" src="libs/expect.js"></script>
        
        <style>
            h1 {
                font-size: 1.5em;
            }
        </style>
    </head>
    <body>
        <h1>Test de javascript con Mocha + ExpectJS</h1>
        <div id="mocha"></div>
        
        <!-- Implementaciones a Testear -->
		<script type="text/javascript" src="src/hola.js"></script>
		<script type="text/javascript" src="src/chau.js"></script>
        
        <!-- Tests (Describes) -->
		<script type="text/javascript" src="tests/ctc/util/holaTest.js"></script>
		<script type="text/javascript" src="tests/ctc/util/chauTest.js"></script>
        
        <script type="text/javascript">
            window.onload = function (){
                mocha
                .run()
                .globals(['ctc']) // variables globales aceptadas
            };
        </script>
    </body>
</html>
